function GetSysInfo() {

	var systeminfo;
	var infoPanel = {
						xtype: 'fieldset',
						margins:'5 5 5 5',
						title: '服务器信息',
						layout : 'form',
						region:'north',
						labelWidth : 0,
						height:110,
						fileUpload: true,
						items: [
								{
											xtype: 'checkboxgroup',
											itemCls: 'x-check-group-alt',
											columns: 3,
											items: [
												{
													xtype: 'textfield',
													name: 'systemVersion',
													id  : 'systemVersion',
													fieldLabel: '当前版本',
													readOnly : true,
													style:'color:blue;', 
													anchor: '95%'
												},{
													xtype: 'textfield',
													name: 'endDate',
													id  : 'endDate',
													readOnly : true,
													fieldLabel: '服务期限',
													style:'color:blue;', 
													anchor: '95%'
												},{
													xtype: 'textfield',
													name: 'clientCount',
													id  : 'clientCount',
													readOnly : true,
													fieldLabel: '客户端数量',
													style:'color:blue;', 
													anchor: '95%'
												},{
													xtype: 'textfield',
													name: 'macCode',
													id  : 'macCode',
													fieldLabel: '机器码',
													readOnly : true,
													style:'color:blue;', 
													anchor: '95%'
												},{
													xtype: 'textfield',
													name: 'regDate',
													id  : 'regDate',
													fieldLabel: '注册时间',
													readonly:true,
													style:'color:blue;', 
													anchor: '95%'
												},{
													xtype: 'textfield',
													name: 'regCode',
													id  : 'regCode',
													fieldLabel: '序列号',
													style:'color:blue;', 
													anchor: '95%'
												},{
													xtype: 'button',
													name: 'reg',
													id  : 'reg',
													text: '注册',
													anchor: '10%',
													handler : function() {
														var regcodejson = Ext.get('regCode').getValue();
														if(regcodejson == ''){
															Ext.Msg.alert('提示', '序列号不能为空');
															return;
														}
														
													}
												}
											]
								}
						]
					};
					

	var backupPanel = {
						xtype: 'fieldset',
						margins:'5 5 5 5',
						title: '系统配置',
						layout : 'form',
						region:'center',
						labelWidth : 120,
						height:300,
						items: [
								{
									xtype: 'checkbox',
									name: 'startBackup3',
									id  : 'startBackup3',
									fieldLabel: '启用自动备份',
									anchor: '100%'
								},{
									xtype: 'checkboxgroup',
									itemCls: 'x-check-group-alt',
									fieldLabel: '数据库备份周期',
									columns: 4,
									anchor: '50%',
									items: [
									{
										xtype: 'textfield',
										name: 'backupDay13',
										id: 'backupDay13',
										anchor: '100%'
									},{
										xtype: 'label',
										text : ' 天',
										margins:'5 5 5 5'
									}
									]
								},{
									xtype: 'checkboxgroup',
									itemCls: 'x-check-group-alt',
									fieldLabel: '自动备份时间点',
									columns: 4,
									anchor: '50%',
									items: [
										{
										xtype: 'timefield',
										name: 'backupTime13',
										id  : 'backupTime13',
										format: 'H:i',
										value:'00:00',
										anchor: '100%'
										}
									]
								},{
									xtype: 'checkbox',
									name: 'isSync2',
									id  : 'isSync2',
									fieldLabel: '时间同步',
									anchor: '100%'
								},{
									xtype: 'checkbox',
									name: 'isSync12',
									id  : 'isSync12',
									fieldLabel: '定期收集数据',
									anchor: '100%'
								},{
									xtype: 'checkboxgroup',
									itemCls: 'x-check-group-alt',
									fieldLabel: '收集频率',
									columns: 4,
									anchor: '50%',
									items: [
									{
										xtype: 'textfield',
										name: 'backupDay112',
										id: 'backupDay112',
										anchor: '100%'
									},{
										xtype: 'label',
										text : ' 天',
										margins:'5 5 5 5'
									}
									]
								},{
									xtype: 'checkboxgroup',
									itemCls: 'x-check-group-alt',
									fieldLabel: '收集时间',
									columns: 4,
									anchor: '50%',
									items: [
										{
										xtype: 'timefield',
										name: 'backupTime112',
										id  : 'backupTime112',
										format: 'H:i',
										value:'00:00',
										anchor: '100%'
										}
									]
								},{
									xtype: 'checkboxgroup',
									itemCls: 'x-check-group-alt',
									fieldLabel: '即时信息收集频率',
									columns: 4,
									anchor: '50%',
									items: [
									{
										xtype: 'textfield',
										name: 'backupDay1121',
										id: 'backupDay1121',
										anchor: '100%'
									},{
										xtype: 'label',
										text : ' 秒',
										margins:'5 5 5 5'
									}
									]
								},{
									xtype: 'checkboxgroup',
									itemCls: 'x-check-group-alt',
									fieldLabel: '',
									columns: 4,
									anchor: '50%',
									items: [
										{
											xtype: 'button',
											name: 'save',
											id  : 'save',
											text: '保 存',
											anchor: '10%',
											handler : function() {
											
												
												
											}
										}
									]
								}
						]
					};


	var backData = [];


	var backStore = new Ext.data.ArrayStore({
				fields : [{
							name : 'id'
						}, {
							name : 'name'
						}]
			});

	backStore.loadData(backData);
	var sm = new Ext.grid.CheckboxSelectionModel();
	var backgrid = new Ext.grid.GridPanel({
				store : backStore,
				columns : [sm, {
							id : 'id',
							header : 'id',
							width : 10,
							sortable : true,
							dataIndex : 'id',
							hidden : true
						}, {
							header : '备份文件',
							width : 300,
							sortable : true,
							dataIndex : 'name'
						}],
				sm : sm,
				tbar : [
						{
							text : '立即备份',
							tooltip : '立即备份',
							iconCls : 'save',
							handler : function() {
								
							}
						},{
							text : '恢复',
							tooltip : '恢复',
							ref : '../resumeBtn',
							iconCls : 'up',
							disabled : true,
							handler : function() {
														
							}
						},{
							text : '删除备份',
							tooltip : '删除备份',
							iconCls : 'delete',
							disabled : true,
							ref : '../deleteBtn',
							handler : function() {
								
								
							}
						},{
							text : '刷新',
							tooltip : '刷新',
							iconCls : 'refresh',
							handler : function() {
							}
						}
						],
				stripeRows : true,
				autoExpandColumn : 'id',
				height : 150
			});
	backgrid.getSelectionModel().on('selectionchange', function(sm) {
				backgrid.deleteBtn.setDisabled(sm.getCount() < 1);
				backgrid.resumeBtn.setDisabled(sm.getCount() != 1);
			});

	var givebackPanel = {
						xtype: 'fieldset',
						margins:'5 5 5 5',
						title: '备份恢复',
						layout : 'form',
						region:'south',
						labelWidth : 0,
						height:200,
						items: [
							backgrid	
						]
					};

   
	var net_datum = new Ext.Panel({
				frame : true,
				layout : 'form',
				autoScroll: true,
				bodyStyle: "background-color:#ffffff", 
				items : [infoPanel,backupPanel,givebackPanel]
			})
			
			
	return net_datum;

}

ButtonPanel = Ext.extend(Ext.Panel, {
    layout:'table',
    defaultType: 'button',
    baseCls: 'x-plain',
    cls: 'btn-panel',
    renderTo : 'docbody',
    menu: undefined,
    split: false,

    layoutConfig: {
        columns:3
    },

    constructor: function(desc, buttons){
        // apply test configs
        for(var i = 0, b; b = buttons[i]; i++){
            b.menu = this.menu;
            b.enableToggle = this.enableToggle;
            b.split = this.split;
            b.arrowAlign = this.arrowAlign;
        }
        var items = [{
            xtype: 'box',
            autoEl: {tag: 'h3', html: desc, style:"padding:15px 0 3px;"},
            colspan: 3
        }].concat(buttons);

        ButtonPanel.superclass.constructor.call(this, {
            items: items
        });
    }
});
